/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package banco_imobiliario.AbstractFactoryLogradouro;

import banco_imobiliario.model.Logradouro;
import banco_imobiliario.model.LogradouroParadaLivre;

/**
 *
 * @author Andre
 */
public class LogradouroParadaLivreFactory implements LogradouroFactory{

    @Override
    public Logradouro criarLogradouro(int indice) {
        LogradouroParadaLivre paradaLivre = new LogradouroParadaLivre();
        paradaLivre.setIndice(indice);
        paradaLivre.setNome("Parada Livre");
        return paradaLivre;
    }
    
}
